<?php /* Smarty version Smarty-3.0.8, created on 2011-11-23 01:00:25
         compiled from "templates/frm/clientes_listar.html" */ ?>
<?php /*%%SmartyHeaderCode:3281142014ecc61c978f2b0-70735507%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '01aac3a8d5d8db75bba0211f6e11c0d18edfef21' => 
    array (
      0 => 'templates/frm/clientes_listar.html',
      1 => 1322017224,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3281142014ecc61c978f2b0-70735507',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<table class="tableAdmlist" align="center">
        <tr>
            <th colspan="7" class="titulo_topo">CLIENTES</th>
        </tr>
        <?php if ($_smarty_tpl->getVariable('msg')->value!=null){?>
        <tr>
            <td colspan="7">
                <?php echo $_smarty_tpl->getVariable('msg')->value;?>

            </td>
        </tr>
        <?php }?>
        <tr>
            <td colspan="7" class="textoCenter" class="ExLink">
            <?php if ($_smarty_tpl->getVariable('paginacao')->value!=null){?><?php echo $_smarty_tpl->getVariable('paginacao')->value;?>
<?php }?>
        </td>
    </tr>
    <tr>
        <td colspan="7">
            <form name="form" action="<?php echo $_smarty_tpl->getVariable('base_root')->value;?>
/Clientes/Adicionar" method="post">
                <input type="hidden" id="action" name="action" value="1" />
                <div id="btn_adicionar">
                    <img src="images/add.png" border="0" width="26" height="26" onclick="form.submit()" />
                    <div class="acao"><a href="#" onclick="form.submit();">Adicionar</a></div>
                </div>
            </form>
        </td>
    </tr>
    <tr>
        <th class="titulo_topo" width="5%">ID</th>
        <th class="titulo_topo" width="5%">DATA</th>
        <th class="titulo_topo" width="10%">PUBLICADO</th>
        <th class="titulo_topo" width="10%">DESTAQUE</th>
        <th class="titulo_topo">T&Iacute;TULO</th>
        <th class="titulo_topo" width="5%">DISCOGRAFIA</th>
        <th class="titulo_topo" width="5%">APAGAR</th>
    </tr>
    <?php if ($_smarty_tpl->getVariable('array')->value!=null){?>
    
<tr>
    <td>
    <a href="<?php echo $_smarty_tpl->getVariable('base_root')->value;?>
/Clientes/Editar/<?php echo $_smarty_tpl->getVariable('array')->value['id'];?>
<?php if ($_smarty_tpl->getVariable('pagina')->value!=0){?>/<?php echo $_smarty_tpl->getVariable('pagina')->value;?>
<?php }?>" class="itemMenuLink" title="Editar">
    <?php echo $_smarty_tpl->getVariable('array')->value['id'];?>

    </a>
    </td>    
    <td class="textoCenter">
        <?php echo $_smarty_tpl->getVariable('array')->value['data'];?>

    </td>
    <td class="textoCenter">
    <?php if ($_smarty_tpl->getVariable('array')->value['status']==1){?>
        <span class='publicado'>SIM</span>
        <?php }else{ ?>
        <span class='aguardando'>N&Atilde;O</span>
    <?php }?>
    </td>
    
    <td class="textoLeft">
        <a href="<?php echo $_smarty_tpl->getVariable('base_root')->value;?>
/Clientes/Editar/<?php echo $_smarty_tpl->getVariable('array')->value['id'];?>
<?php if ($_smarty_tpl->getVariable('pagina')->value!=0){?>/<?php echo $_smarty_tpl->getVariable('pagina')->value;?>
<?php }?>" class="itemMenuLink" title="Editar">
            <?php echo $_smarty_tpl->getVariable('array')->value['titulo'];?>

        </a>
    </td>
    <td class="textoCenter">
        <a href="<?php echo $_smarty_tpl->getVariable('base_root')->value;?>
/Cllientes/Excluir/<?php echo $_smarty_tpl->getVariable('array')->value['id'];?>
<?php if ($_smarty_tpl->getVariable('pagina')->value!=0){?>/<?php echo $_smarty_tpl->getVariable('pagina')->value;?>
<?php }?>">
            <img src="./images/trash.png" title="Excluir" border="0" />
        </a>
    </td>
</tr>
    <?php }else{ ?>
    <tr>
            <td colspan="6">N&atilde;o h&aacute; registros</td>
        </tr>
    <?php }?> 
    
</table>